﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VehiInfo.aspx.cs" Inherits="Web.VehiInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <meta content="ie=7" http-equiv="x-ua-compatible">
    <link href="Styles/Style01.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="Form1" runat=server>
<table class="s1 view">
<tr><td>表单编号</td><td><%=reqVehicleMains.FormNo%></td><td>申请时间</td><td><%=reqVehicleMains.ReqDate.ToString("yyyy-MM-dd HH:mm:ss")%></td></tr>
<tr><td>申请人</td><td><%=empName%></td><td>申请车辆</td><td><%=reqVehicleMains.Vehicle%></td></tr>
<tr><td>同行人</td><td><%=reqVehicleMains.Riders%></td><td>乘车人数</td><td><%=reqVehicleMains.RiderCnt%></td></tr>
<tr><td>用车开始时间</td><td><%=reqVehicleMains.PreStartTime.ToString("yyyy-MM-dd HH:mm:ss")%></td>
<td>用车终止时间</td><td><%=reqVehicleMains.PreEndTime.ToString("yyyy-MM-dd HH:mm:ss")%></td></tr>
<tr><td>申请备注</td><td colspan=3><%=reqVehicleMains.Cause%></td></tr>
</table>
<asp:Repeater ID="rptList" EnableViewState="False" Runat="server">
	<HeaderTemplate>
		<table class="s1 list">
			<caption>旅程明细</caption>
			<thead>
				<TR>
					<th width="10%">出发地</th>
					<th width="10%">到达地</th>
					<th width="15%">预计距离</th>
					<th width="15%">预计时长</th>
					<th width="20%">备注</th>
				</TR>
			</thead><tbody>
	</HeaderTemplate>
	<ItemTemplate>
		<tr class="<%# Container.ItemIndex%2==0?"bg":""%>">
			<td><%#Eval("FromSite")%></td>
			<td><%#Eval("ToSite")%></td>
			<td><%#Eval("PreDistance")%></td>
			<td><%#Eval("PreTimespan")%></td>
			<td><%#Eval("Cause")%></td>
		</tr>
	</ItemTemplate>
	<FooterTemplate>
		</tbody> </table>
	</FooterTemplate>
</asp:Repeater>
</form>
</body>
</html>